//=============================================================================
// FireChuckerFire
//=============================================================================
class FireChuckerFire extends TFProjectileFire;

var() class<Projectile> ProjectileClassBlue;

var bool bDoShake;

function ShakeView()
{
	if(bDoShake)
		Super.ShakeView();

	bDoShake = !bDoShake;
}

function PlayFiring()
{
	Weapon.LoopAnim(FireLoopAnim, FireLoopAnimRate, TweenTime);
	Weapon.PlayOwnedSound(FireSound,SLOT_Interact,TransientSoundVolume,,,Default.FireAnimRate/FireAnimRate,false);
	ClientPlayForceFeedback(FireForce);
	FireCount++;
}

function float MaxRange()
{
	return 700;
}

function StartBerserk(){}
function StopBerserk(){}

defaultproperties
{
     ProjectileClassBlue=Class'taskforces.FireProjBlue'
     ProjSpawnOffset=(X=20.000000,Y=8.000000,Z=-16.000000)
     bSplashDamage=True
     bRecommendSplashDamage=True
     FireAnim=
     FireEndAnim="Fire"
     FireLoopAnimRate=5.000000
     FireForce="TranslocatorFire"
     FireRate=0.050000
     AmmoClass=Class'taskforces.FireChuckerAmmo'
     AmmoPerFire=1
     ShakeRotTime=4.000000
     ShakeOffsetMag=(X=2.000000,Y=1.000000,Z=1.000000)
     ShakeOffsetRate=(X=100.000000,Y=700.000000,Z=600.000000)
     ShakeOffsetTime=4.000000
     ProjectileClass=Class'taskforces.FireProj'
     BotRefireRate=0.990000
     aimerror=100.000000
}
